const {
	Controller
} = require("uni-cloud-router");

module.exports = class EntitlementController extends(
	Controller
) {
	async get(event, context) {
		return this.service.entitlement.get(event.event);
	}
	async buy(event, context) {
		return this.service.entitlement.buy(event.event);
	}
	async list(event, context) {
		return this.service.entitlement.list(event.event);
	}
	async coupon(event, context) {
		return this.service.entitlement.coupon(event.event);
	}
	async recharge(event, context) {
		return this.service.entitlement.recharge(event.event);
	}
	async recharge_app(event, context) {
		return this.service.entitlement.recharge_app(event.event);
	}
	async rechargeList(event, context) {
		return this.service.entitlement.rechargeList(event.event);
	}
	async aftersale(event, context) {
		return this.service.entitlement.aftersale(event.event);
	}
	async getAppkey(event, context) {
		return this.service.entitlement.getAppkey(event.event);
	}
	
};